package com.czw.ddm.register

import cn.jiguang.verifysdk.api.JVerificationInterface
import com.didi.drouter.annotation.Service
import com.mtzqc.common.app.App
import com.mtzqc.common.init.InitService

@Service(
    function = [InitService::class],
    priority = 40
)
class VerifyRegister: JGRegister(),InitService {
    override val depName: String
        get() = "JVerify"

    override fun initOnAgree(): Boolean {
        JVerificationInterface.setDebugMode(App.isDev() || App.isDebug())
        JVerificationInterface.init(App.app())
        return true
    }
}